import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import '@/assets/styles/base.less'
import '@/assets/styles/iconfont.less'
import 'vant/lib/index.css'
import vant from 'vant'
// import { Tab, Tabs, Swipe, SwipeItem, Field, CellGroup, Uploader, Dialog, ActionSheet, Icon } from 'vant'

import '@/mock/index'

const app = createApp(App)
// 注册 Vant 组件
app.use(vant)
// app.use(Tab)
// app.use(Tabs)
// app.use(Swipe)
// app.use(SwipeItem)
// app.use(Field)
// app.use(CellGroup)
// app.use(Uploader)
// app.use(Dialog)
// app.use(ActionSheet)
// app.use(Icon)
app.use(router)
app.mount('#app')
